#include "shader.h"

#include <stdexcept>
#include <glad/glad.h>


static GLenum myShaderTypeToGlType(ShaderType type)
{
    switch (type) {
    case ShaderType::Vertex:
        return GL_VERTEX_SHADER;
    case ShaderType::Fragment:
        return GL_FRAGMENT_SHADER;
    default:
        throw std::logic_error("myShaderTypeToGlType() error");
    }
}

ShaderObject::ShaderObject()
{
}

ShaderObject::~ShaderObject()
{
}
